Skip to main content

Sale request

curl -X POST "http://127.0.0.1:8888/sale" \  -H "Content-Type: application/json" \  
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "pay_id":"ORDER-1001",
    "terminal":1,
    "merchant":1,
    "amount":12500,
    "currency_name":"UZS",
    "doc_number":"42",
    "headless":true,
    "no_printing":false,
    "language":"en"
  }'

Example response:

{    
"status": "success"
}